package com.zhengxiang.onlinexamination.controller;


import com.baomidou.mybatisplus.extension.api.ApiController;
import com.zhengxiang.onlinexamination.base.AjaxResult;
import com.zhengxiang.onlinexamination.entity.vo.UserVo;
import com.zhengxiang.onlinexamination.service.CustomerUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 员工(ZUser)表控制层
 *
 * @author
 * @since 2023-03-11 10:20:15
 */
@RestController
@RequestMapping("user")
public class UserController extends ApiController {

    @Autowired
    private CustomerUserService customerUserService;

    /**
     * 员工列表
     *
     * @param userVo
     * @return
     */
    @PostMapping("/queryAll")
    public AjaxResult queryAll(@RequestBody UserVo userVo) {
        return AjaxResult.success();
    }

    @PostMapping("/saveUser")
    public AjaxResult saveUser(@RequestBody UserVo u) {
        return AjaxResult.success();
    }
}

